﻿using System;
using MoonSharp.Interpreter;
using UnityEngine;

namespace Lua
{
	// Token: 0x02000301 RID: 769
	[MoonSharpUserData]
	public class World
	{
		// Token: 0x17000310 RID: 784
		// (get) Token: 0x06001379 RID: 4985 RVA: 0x00082B38 File Offset: 0x00080D38
		// (set) Token: 0x0600137A RID: 4986 RVA: 0x00082B53 File Offset: 0x00080D53
		public float gravity
		{
			get
			{
				return -Physics.gravity.y;
			}
			set
			{
				Physics.gravity = Vector3.down * value;
				Gravity.gravity = value;
			}
		}
	}
}
